<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>审计系统 - 已上传规范性文件列表</title>
		<link
			rel="stylesheet"
			href="{{ url_for('static', filename='css/style.css') }}"
		/>
	</head>
	<body>
		<div class="container">
			<div class="card">
				<a
					href="{{ url_for('upload_normative_document_form', project_id=project_id) }}"
					class="btn btn-back"
					>返回上传页面</a
				>
				<h2>已上传规范性文件列表</h2>
				<table class="table">
					<thead>
						<tr>
							<th>ID</th>
							<th>文件名称</th>
							<th>文件描述</th>
							<th>文件分类</th>
							<th>文件版本</th>
						</tr>
					</thead>
					<tbody>
						{% for document in documents %}
						<tr>
							<td>{{ document.id }}</td>
							<td>{{ document.name }}</td>
							<td>{{ document.description }}</td>
							<td>{{ document.category }}</td>
							<td>{{ document.version }}</td>
						</tr>
						{% endfor %}
					</tbody>
				</table>
			</div>
		</div>
	</body>
</html>
